<?php

class g5_admin_acl_group extends Model {

    function __construct() {
        parent::__construct();
        $this->_tableName = 'g5_admin_acl_group';
    }


    function delete_acl_group($group_id = 0){
        $in = array('group_id'=>$group_id);
        return $this->in($in)->delete();
    }

    function insert_acl_group($data){
        return $this->insert($data);
    }


    function getGroupAcl($group_id = 0){
        $where = array('group_id'=>$group_id);
        return $this->getAll('*', $where);
    }


}